package com.petAdoption.manager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 王倩茹
 * @since 2023-09-06
 */
public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 城市Id
     */
    @TableId(value = "address_id", type = IdType.AUTO)
    private Integer addressId;

    /**
     * 省份
     */
    private String addressProvince;

    /**
     * 城市
     */
    private String addressCity;

    /**
     * 区县
     */
    private String addressCounty;

    /**
     * 详细地址
     */
    private String addressDetail;

    /**
     * 地区编码
     */
    private String addressCode;

    /**
     * 是否默认地址
     */
    private Boolean addressIsdefault;

    /**
     * 地址唯一标识
     */
    private Integer addressFid;

    /**
     * 用户ID
     */
    private Integer addressUid;

    /**
     * 电话
     */
    private String addressTel;

    /**
     * 收货人
     */
    private String addressName;

    /**
     * 删除
     */
    private Byte addressDelete;

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public String getAddressProvince() {
        return addressProvince;
    }

    public void setAddressProvince(String addressProvince) {
        this.addressProvince = addressProvince;
    }

    public String getAddressCity() {
        return addressCity;
    }

    public void setAddressCity(String addressCity) {
        this.addressCity = addressCity;
    }

    public String getAddressCounty() {
        return addressCounty;
    }

    public void setAddressCounty(String addressCounty) {
        this.addressCounty = addressCounty;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    public String getAddressCode() {
        return addressCode;
    }

    public void setAddressCode(String addressCode) {
        this.addressCode = addressCode;
    }

    public Boolean getAddressIsdefault() {
        return addressIsdefault;
    }

    public void setAddressIsdefault(Boolean addressIsdefault) {
        this.addressIsdefault = addressIsdefault;
    }

    public Integer getAddressFid() {
        return addressFid;
    }

    public void setAddressFid(Integer addressFid) {
        this.addressFid = addressFid;
    }

    public Integer getAddressUid() {
        return addressUid;
    }

    public void setAddressUid(Integer addressUid) {
        this.addressUid = addressUid;
    }

    public String getAddressTel() {
        return addressTel;
    }

    public void setAddressTel(String addressTel) {
        this.addressTel = addressTel;
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

    public Byte getAddressDelete() {
        return addressDelete;
    }

    public void setAddressDelete(Byte addressDelete) {
        this.addressDelete = addressDelete;
    }

    @Override
    public String toString() {
        return "Address{" +
            "addressId = " + addressId +
            ", addressProvince = " + addressProvince +
            ", addressCity = " + addressCity +
            ", addressCounty = " + addressCounty +
            ", addressDetail = " + addressDetail +
            ", addressCode = " + addressCode +
            ", addressIsdefault = " + addressIsdefault +
            ", addressFid = " + addressFid +
            ", addressUid = " + addressUid +
            ", addressTel = " + addressTel +
            ", addressName = " + addressName +
            ", addressDelete = " + addressDelete +
        "}";
    }
}
